package com.yand.mapper.system;

import com.yand.api.entity.system.TSysRoleMenu;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface TSysRoleMenuMapper {
    int deleteByPrimaryKey(@Param("roleId") Integer roleId, @Param("menuId") Integer menuId);

    int insert(TSysRoleMenu record);

    int insertSelective(TSysRoleMenu record);

    int batchInsert(@Param("list") List<TSysRoleMenu> list);

    void delRoleAndMenuByRoleId(int roleId);
}